package com.cgi.map.activityanalyser.gui.proxy;

import java.util.ArrayList;

import com.cgi.map.activityanalyser.service.services.interfaces.IFolderService;

public class FolderServiceProxy {
	
	private static IFolderService instance;
	
	public void bindDataService(IFolderService service) {
		instance = service;
	}
	
	public void unbindDataService(IFolderService service) {
		instance = null;
	}
	
	public static ArrayList<String> getFolders(){		
		if(instance != null)
			return instance.getFolders();	
		
		return null;
	}

}
